<?php


/**
 * Class Constant
 * time 2020/11/10 22:43
 * author zrone <xujining415@gmail.com>
 * copyright zrone <xujining415@gmail.com>
 */
class Constant
{
    const ACCESSKEY_ID = "AcbCEE11ArMiySWu";
    const ACCESSKEY_SECRET = "7Qt4629kYvMle9nQb15gCXpwDXHkvJ";

    const DOMAIN = "https://dm.aliyuncs.com/";

    const CREATE_ORDER_ERROR = [
        "ContactInformationError" => "联系人信息有误，可能为联系人模板编号无效或联系人模板内容无效",
        "OrderInformationIncomplete" => "订单信息不完整",
        "ActionNotAllowed" => "操作不允许",
        "ActivateSaleIdError" => "域名新购时不允许填写业务编号",
        "RenewSaleIdError" => "域名续费时业务编号不能为空",
        "BusinessNotFound" => "业务不存在",
        "OrderProcessing" => "业务中存在处理中的订单，未处理成功前无法进行当前操作",
        "OrderNotPay" => "业务中存在未支付订单，未处理之前无法进行当前操作",
        "EmptyDomain" => "域名不能为空",
        "InvalidDomainName" => "域名信息无效",
        "BlackListDomainName" => "域名包含黑名单词，无法使用",
        "UserNotEXist" => "用户不存在",
        "PriceError" => "产品未定价",
        "InsufficientBalance" => "账户余额不足",
        "OrderNotFound" => "订单不存在",
        "PaymentFailed" => "订单支付失败",
        "CouponsNotFound" => "代金券未找到，支付失败",
        "PurchaseNotAllowed" => "您所在的地区不支持订购该项业务",
        "DomainNameRegistered" => "域名已被注册",
        "DomainNameNotAvailable" => "域名目前无法注册"
    ];
}